package com.group.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 */
public class Register extends Model<Register> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 病历号
     */
    @TableField("CaseNumber")
    private String CaseNumber;

    /**
     * 姓名
     */
    @TableField("RealName")
    private String RealName;

    /**
     * 性别
     */
    @TableField("Gender")
    private Integer Gender;

    /**
     * 身份证号
     */
    @TableField("IDnumber")
    private String IDnumber;

    /**
     * 出生日期
     */
    @TableField("BirthDate")
    private String BirthDate;

    /**
     * 年龄
     */
    @TableField("Age")
    private Integer Age;

    /**
     * 年龄类型 岁 月 天
     */
    @TableField("AgeType")
    private String AgeType;

    /**
     * 家庭住址
     */
    @TableField("HomeAddress")
    private String HomeAddress;

    /**
     * 本次看诊日期
     */
    @TableField("VisitDate")
    private Date VisitDate;

    /**
     * 午别  上午/下午
     */
    @TableField("Noon")
    private String Noon;

    /**
     * 本次挂号科室ID
     */
    @TableField("DeptID")
    private Integer DeptID;

    /**
     * 本次挂号医生ID
     */
    @TableField("UserID")
    private Integer UserID;

    /**
     * 本次挂号级别ID
     */
    @TableField("RegistLeID")
    private Integer RegistLeID;

    /**
     * 结算类别ID
     */
    @TableField("SettleID")
    private Integer SettleID;

    /**
     * 病历本要否  是/否
     */
    @TableField("IsBook")
    private String IsBook;

    /**
     * 挂号时间
     */
    @TableField("RegistTime")
    private Date RegistTime;

    /**
     * 挂号员ID
     */
    @TableField("RegisterID")
    private Integer RegisterID;

    /**
     * 本次看诊状态
     */
    @TableField("VisitState")
    private Integer VisitState;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCaseNumber() {
        return CaseNumber;
    }

    public void setCaseNumber(String CaseNumber) {
        this.CaseNumber = CaseNumber;
    }

    public String getRealName() {
        return RealName;
    }

    public void setRealName(String RealName) {
        this.RealName = RealName;
    }

    public Integer getGender() {
        return Gender;
    }

    public void setGender(Integer Gender) {
        this.Gender = Gender;
    }

    public String getIDnumber() {
        return IDnumber;
    }

    public void setIDnumber(String IDnumber) {
        this.IDnumber = IDnumber;
    }

    public String getBirthDate() {
        return BirthDate;
    }

    public void setBirthDate(String BirthDate) {
        this.BirthDate = BirthDate;
    }

    public Integer getAge() {
        return Age;
    }

    public void setAge(Integer Age) {
        this.Age = Age;
    }

    public String getAgeType() {
        return AgeType;
    }

    public void setAgeType(String AgeType) {
        this.AgeType = AgeType;
    }

    public String getHomeAddress() {
        return HomeAddress;
    }

    public void setHomeAddress(String HomeAddress) {
        this.HomeAddress = HomeAddress;
    }

    public Date getVisitDate() {
        return VisitDate;
    }

    public void setVisitDate(Date VisitDate) {
        this.VisitDate = VisitDate;
    }

    public String getNoon() {
        return Noon;
    }

    public void setNoon(String Noon) {
        this.Noon = Noon;
    }

    public Integer getDeptID() {
        return DeptID;
    }

    public void setDeptID(Integer DeptID) {
        this.DeptID = DeptID;
    }

    public Integer getUserID() {
        return UserID;
    }

    public void setUserID(Integer UserID) {
        this.UserID = UserID;
    }

    public Integer getRegistLeID() {
        return RegistLeID;
    }

    public void setRegistLeID(Integer RegistLeID) {
        this.RegistLeID = RegistLeID;
    }

    public Integer getSettleID() {
        return SettleID;
    }

    public void setSettleID(Integer SettleID) {
        this.SettleID = SettleID;
    }

    public String getIsBook() {
        return IsBook;
    }

    public void setIsBook(String IsBook) {
        this.IsBook = IsBook;
    }

    public Date getRegistTime() {
        return RegistTime;
    }

    public void setRegistTime(Date RegistTime) {
        this.RegistTime = RegistTime;
    }

    public Integer getRegisterID() {
        return RegisterID;
    }

    public void setRegisterID(Integer RegisterID) {
        this.RegisterID = RegisterID;
    }

    public Integer getVisitState() {
        return VisitState;
    }

    public void setVisitState(Integer VisitState) {
        this.VisitState = VisitState;
    }

    public static final String ID = "ID";

    public static final String CASENUMBER = "CaseNumber";

    public static final String REALNAME = "RealName";

    public static final String GENDER = "Gender";

    public static final String IDNUMBER = "IDnumber";

    public static final String BIRTHDATE = "BirthDate";

    public static final String AGE = "Age";

    public static final String AGETYPE = "AgeType";

    public static final String HOMEADDRESS = "HomeAddress";

    public static final String VISITDATE = "VisitDate";

    public static final String NOON = "Noon";

    public static final String DEPTID = "DeptID";

    public static final String USERID = "UserID";

    public static final String REGISTLEID = "RegistLeID";

    public static final String SETTLEID = "SettleID";

    public static final String ISBOOK = "IsBook";

    public static final String REGISTTIME = "RegistTime";

    public static final String REGISTERID = "RegisterID";

    public static final String VISITSTATE = "VisitState";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Register{" +
        "id=" + id +
        ", CaseNumber=" + CaseNumber +
        ", RealName=" + RealName +
        ", Gender=" + Gender +
        ", IDnumber=" + IDnumber +
        ", BirthDate=" + BirthDate +
        ", Age=" + Age +
        ", AgeType=" + AgeType +
        ", HomeAddress=" + HomeAddress +
        ", VisitDate=" + VisitDate +
        ", Noon=" + Noon +
        ", DeptID=" + DeptID +
        ", UserID=" + UserID +
        ", RegistLeID=" + RegistLeID +
        ", SettleID=" + SettleID +
        ", IsBook=" + IsBook +
        ", RegistTime=" + RegistTime +
        ", RegisterID=" + RegisterID +
        ", VisitState=" + VisitState +
        "}";
    }
}
